import request from '@/utils/request'

// 查询课程信息列表(过往课程)
export function listCourseSubscribe(query) {
  return request({
    url: '/subscribe/courseSubscribe/getAbnormalCourse',
    method: 'get',
    params: query
  })
}

// 查询课程信息详细
export function getCourseSubscribe(id) {
  return request({
    url: '/subscribe/courseSubscribe/' + id,
    method: 'get'
  })
}
